﻿using BootstrapBlazor.Components;
using CodeMan.Application.ClassGens;
using CodeMan.Application.Contracts.ClassGens;
using Microsoft.Extensions.DependencyInjection;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Microsoft.Extensions.DependencyInjection
{
    public static class WindowsCollectionExtensions
    {
        public static IServiceCollection AddWindowsCodeManService(this IServiceCollection services)
        {
            services.AddSingleton(
                typeof(IDataService<ClassGenDTOCreateUpdate>));
            return services;
        }
    }
}
